package com.sanrenzu.everybodytv.ui.recommend;

import com.sanrenzu.everybodytv.http.HttpUtilsCommend;

import okhttp3.ResponseBody;
import retrofit2.Callback;

/**
 * Created by asus on 2016/9/6.
 */
public class RecommendModel implements RecommendContract.Model {
    //LIstView 的
    @Override
    public void getRecommend(Callback<ResponseBody> callback) {
        HttpUtilsCommend.getInstance().getRecommendBean(callback);
    }
    //RecyclerView的
    @Override
    public void getRecommendRecycleView(Callback<ResponseBody> callback) {
        HttpUtilsCommend.getInstance().getRecommendBean(callback);
    }

    //VIewPager的
    public void getRecommendViewPager(Callback<ResponseBody> callback){
        HttpUtilsCommend.getInstance().getRecommendViewPager(callback);
    }
}
